import * as types from "../action-types";

const actions = {
    add1(event, text) {
        return { type: types.ADD1, payload: text }
    },
    minus1(event, text) {
        return { type: types.MINUS1, payload: text }
    },
    minus(event, text) {
        return { type: types.MINUS, payload: text }
    }
}

export default actions;
